package com.baojee.index.entity;

import com.baojee.index.entity.enums.AppEnums;

import java.io.Serializable;

/**
 * @Auther: mg
 * @Date: 2021/06/30/15:17
 * @Description:
 */
public class PageItem implements Serializable {

    private static final long serialVersionUID = 6351422807903185778L;

    // ID
    private String nodeId;

    // 所在栏目ID
    private String menuId;

    // 跳转类型
    AppEnums.LinkType type;

    // 参数
    private String extra;

    private String params;

    //安卓参数
    private String androidExtra;

    private String androidParams;

    // 图片地址
    private String image;

    //排序编号
    private String sort;

    // 标题
    private String title;

    // 内容
    private String content;

    // 宽度设定
    private String width;

    // 高度设定
    private String height;

    // x-axis
    private String x;

    // y-axis
    private String y;

    public String getNodeId() {
        return nodeId;
    }

    public void setNodeId(String nodeId) {
        this.nodeId = nodeId;
    }

    public String getMenuId() {
        return menuId;
    }

    public void setMenuId(String menuId) {
        this.menuId = menuId;
    }

    public AppEnums.LinkType getType() {
        return type;
    }

    public void setType(AppEnums.LinkType type) {
        this.type = type;
    }

    public String getParams() {
        return params;
    }

    public void setParams(String params) {
        this.params = params;
    }

    public String getExtra() {
        return extra;
    }

    public void setExtra(String extra) {
        this.extra = extra;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getSort() { return sort; }

    public void setSort(String sort) { this.sort = sort; }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getWidth() {
        return width;
    }

    public void setWidth(String width) {
        this.width = width;
    }

    public String getHeight() {
        return height;
    }

    public void setHeight(String height) {
        this.height = height;
    }

    public String getX() {
        return x;
    }

    public void setX(String x) {
        this.x = x;
    }

    public String getY() {
        return y;
    }

    public void setY(String y) {
        this.y = y;
    }

    public String getAndroidExtra() {
        return androidExtra;
    }

    public void setAndroidExtra(String androidExtra) {
        this.androidExtra = androidExtra;
    }

    public String getAndroidParams() {
        return androidParams;
    }

    public void setAndroidParams(String androidParams) {
        this.androidParams = androidParams;
    }

    @Override
    public String toString() {
        return "PageItem{" +
                "nodeId='" + nodeId + '\'' +
                ", menuId='" + menuId + '\'' +
                ", type=" + type +
                ", extra='" + extra + '\'' +
                ", params='" + params + '\'' +
                ", androidExtra='" + androidExtra + '\'' +
                ", androidParams='" + androidParams + '\'' +
                ", image='" + image + '\'' +
                ", sort=" + sort +
                ", title='" + title + '\'' +
                ", content='" + content + '\'' +
                ", width='" + width + '\'' +
                ", height='" + height + '\'' +
                ", x='" + x + '\'' +
                ", y='" + y + '\'' +
                '}';
    }
}
